<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE HTML>
<html>
  <head>
    <%@include file="../common.jsp"%>
    <title>文件评论管理</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">  
	<link rel="stylesheet" type="text/css" href="resources/css/common.css">
	<script type="text/javascript" src="resources/js/framejs/jquery.form.js"></script>
	<script type="text/javascript" src="resources/js/file/comment.js"></script>  
  </head>
  <body>
   	<div class="content">
   		<h4>文件评论管理</h4>
   		<hr/>
   		<!-- 查询面板 -->
<!--    		<div class="panel panel-default">
		    <div class="panel-heading">
		      <h4 class="panel-title">
		        <a data-toggle="collapse" data-parent="#accordion" href="#collapseSearch">
		           	<i class="icon icon-search"></i> 查询过滤
		        </a>
		      </h4>
		    </div>
		    <div id="collapseSearch" class="panel-collapse collapse out">
		      <div class="panel-body">
				  <form id="form_search" class="form-horizontal">
			        <div class="form-group">
			          	<label class="col-md-1 control-label">昵称</label>
			          	<div class="col-md-4">
			             	<input type="text" name="nickName" id="search_nickName" class="form-control" placeholder="模糊查询...">
			          	</div>
			          	<label class="col-md-1 control-label">手机号</label>
			          	<div class="col-md-4">
			             	<input type="text" name="phone" id="search_phone" class="form-control" placeholder="模糊查询...">
			          	</div>
			        </div>
			        <div class="form-group">
			          <div class="col-md-offset-1 col-md-11">
			             <button id="btn_search" class="btn btn-default"><i class="icon icon-search"></i> 查询</button>
			             <button id="btn_reset" class="btn btn-default"><i class="icon icon-undo"></i> 重置</button>
			          </div>
			        </div>
			      </form>
		      </div>
		    </div>
		</div> -->
		
	    <!-- 工具栏 -->
   		<div class="tools"> 
           	<div id="btn_auth" class="btn-group">
			  	<button type="button" class="btn btn-primary active" id="1"><i class="icon icon-plus-sign"></i>通过审核</button>
			  	<button type="button" class="btn btn-danger" id="2"><i class="icon icon-plus-sign"></i>不通过审核</button>
			</div>	
 	    	<div id="btn_status" class="btn-group" style="float: right;">
			  	<button type="button" class="btn btn-default active" id="0">审核中</button>
			  	<button type="button" class="btn btn-default" id="1">已审核</button>
			  	<button type="button" class="btn btn-default" id="2">未通过审核</button>
			</div>	 		
	    </div>
	    <!-- 列表 -->
	    <table id="tab_list" class="table table-hover table-striped mytable">
			<thead>
				<tr>
					<th style="width: 2%;"><input id="pkall" type='checkbox' class='checkbox'></th>
					<th style="width: 3%;">序号</th>
					<th style="width: 5%;">文件内容</th>
					<th style="width: 10%;">是否审核通过</th>
				</tr>
			</thead>
			<tbody>
				
			</tbody>
	  	</table>
	  	<!-- 分页信息条 -->
	  	<div id="pagebar" class="pagebar">
		  	<ul class="pager">
		  		
			</ul>
			<p id="page_info" class="page_info">显示第<span>0</span>到第<span>0</span>条记录,共<span>0</span>条</p>
	  	</div>
	  	
	  	<!-- 详情 -->
		 <div class="modal fade bs-example-modal-lg" id="modal_add" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		  <div class="modal-dialog modal-lg">
		    <div class="modal-content">
		      <div class="modal-header">
		        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
		        <h4 class="modal-title" id="myModalLabel">添加文件</h4>
		      </div>
		      <div class="modal-body">
		      	<form id="form_upload" class="form-horizontal" enctype="multipart/form-data" action="common/upload" method="post">
		      	  <input type="hidden" name= "path">
		      	  <input type="hidden" name= "size">
		      	  <div class="form-group">
		          	<label class="col-md-2 control-label">上传文件</label>
		          	<div class="col-md-10">
  						<div class="form-group">
							<input type="file" name="file" id="schoolLogo" class="container" style="width:186px;margin-top:10px;margin-left:0px;" data-toggle="tooltip" data-placement="top" title="请上传院校照片">
						</div>
		          	</div>
		          </div>
		        </form>
		         <form id="form_add" class="form-horizontal" role="form">
				  	  <div class="form-group">
						  <label class="col-sm-2 control-label required">文件标题</label>
						  <div class="col-sm-4">
						     <input type="text" name="name" placeholder="50字以内,如:建筑设计" class="form-control" data-toggle="tooltip" data-placement="top" title="请输入不多于50个字" >
						  </div>
						  <label class="col-sm-2 control-label required">文件格式</label>
						  <div class="col-sm-4">
							<select class="form-control" name="type" placeholder="选择文件格式" data-toggle="tooltip" data-placement="top" title="请选择文件格式">
								<option value="0" selected="selected">请选择...</option>
							</select> 
						</div>
					  </div>
					  
					  <div class="form-group">
								<label class="col-md-2 control-label required">一级分类</label>
								<div class='col-md-4'>
									<select class="form-control" name="top" placeholder="选择一级分类"
										data-toggle="tooltip" data-placement="top" title="请选择一级分类">
										<option value="0" selected="selected">请选择...</option>
									</select>
								</div>
								<label class="col-md-2 control-label">二级分类</label>
								<div class='col-md-4'>
									<select class="form-control" name="second" placeholder="选择二级分类"
										data-toggle="tooltip" data-placement="top" title="请选择二级分类">
										<option value="0" selected="selected">请选择...</option>
									</select>
								</div>
							</div>
							
					  <div class="form-group">
								<label class="col-md-2 control-label">三级分类</label>
								<div class='col-md-3'>
									<select class="form-control" name="detail" id= "major" placeholder="选择专业"
										data-toggle="tooltip" data-placement="top" title="请选择专业">
										<option value="0" selected="selected">请选择类别（专业）...</option>
									</select>
									</div>
									<div class='col-md-3'>
									<select class="form-control" name="content" placeholder="选择内容"
										data-toggle="tooltip" data-placement="top" title="请选择内容">
										<option value="0" selected="selected">请选择内容...</option>
									</select>
									</div>
									<div class='col-md-3'>
									<select class="form-control" name="project_mode" placeholder="选择项目模式"
										data-toggle="tooltip" data-placement="top" title="请选择项目模式">
										<option value="0" selected="selected">请选择项目模式...</option>
									</select>
								</div>
							</div>

				  	  <div class="form-group">
						<label class="col-sm-2 control-label">价格</label>
						  <div class="col-sm-4">
							 <input type="text" name="price" class="form-control">
						  </div>
						  
						  <label class="col-sm-2 control-label required">浏览的基数</label>
						  	<div class="col-sm-4">
								<input type="text" name="cardinal" placeholder="" class="form-control" data-toggle="tooltip" data-placement="top" title="请输入浏览基数"> 
							</div>
					  </div>
					  
				  	  <div class="form-group">
						  <label class="col-sm-2 control-label required">标签</label>
						  <div class="col-sm-10">
							<div class="row"></div>
						  </div>
					  </div>
				</form>
		      </div>
		      <div class="modal-footer">
					<button id="btn_confirm_add" type="button" class="btn btn-primary">确定</button>
		      </div>
		    </div>
	   </div>
	</div>
 </div>
  </body>
</html>